﻿using adminTemplateApi.Data;
using adminTemplateApi.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace adminTemplateApi.Controllers
{
    //[Route("api/[controller]")]
    [ApiController]
    public class SysParamsController : BaseController<SysParams,int>
    {
        public SysParamsController(DBContext context) : base(context)
        {
        }

        protected override int GetIdFromObj(SysParams obj)
        {
            return obj.Id;
        }
    }
}
